]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
main: register with session manager explicitly
authorRay Strode <rstrode@redhat.com>
Thu, 28 Feb 2013 15:43:39 +0000 (10:43 -0500)
committerRay Strode <rstrode@redhat.com>
Fri, 1 Mar 2013 16:31:18 +0000 (11:31 -0500)
Mutter now makes session registration an explicit required
step.  This is so we can tell the session manager when
we're ready to move on to the next phase.

This commit calls the new Meta.register_with_session() api after we're
initialized.

https://bugzilla.gnome.org/show_bug.cgi?id=694876

js/ui/main.js

index 8b606cbf84970206aa5cf72bc3cd4fd0ac1d8010..3a3f674250d077334145d11dd7017903e9485079 100644 (file)
@@ -168,6 +168,9 @@ function startSession() {
     // initiate logouts.
     EndSessionDialog.init();
 
+    // We're ready for the session manager to move to the next phase
+    Meta.register_with_session();
+
     _startDate = new Date();
 
     log('GNOME Shell started at ' + _startDate);